import java.util.Arrays;
import java.util.List;

public class DFAGraph extends NFAGraph{
    public DFAGraph() {
    }

    public DFAGraph(NFAGraph nfaGraph) {
        this.arcCollection = nfaGraph.arcCollection;
        this.arcCount = nfaGraph.arcCount;
        this.access = nfaGraph.access;
        this.startState = nfaGraph.startState;//要删
        this.r_StartState = nfaGraph.r_StartState;
        this.r_endStateList = nfaGraph.r_endStateList;
        this.endStateList = nfaGraph.endStateList;
    }

    public DFAGraph(Arc[] arcCollections, int arcCount, List<Character> access, State startState, List<State> endStateList) {
        this.arcCollection=arcCollections;
        this.arcCount=arcCount;
        this.access=access;
        this.startState=startState;
        this.endStateList=endStateList;
    }

    @Override
    public String toString() {
        return "DFAGraph{" +
                "arcCollection=" + Arrays.toString(arcCollection) +
                "\n arcCount=" + arcCount +
                "\n access=" + access +
                "\n startState=" + startState +
                "\n endStateList=" + endStateList +
                '}';
    }
}
